From 9617e5f4c477ebe75d3441bb5a195b4769cca326 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 27 Aug 2025 10:38:11 -0400 Subject: [PATCH] ostree-finalize-staged.service: RequiresMountsFor=/etc I've seen in some cases systemd try to unmount /etc quite early and then fail because it's in use. It's confusing because I don't see this in all scenarios. But regardless, in the situations where it does occur, this fixes it. Signed-off-by: Colin Walters --- src/boot/ostree-finalize-staged.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot/ostree-finalize-staged.service b/src/boot/ostree-finalize-staged.service index 63621ce1..897b1da1 100644 --- a/src/boot/ostree-finalize-staged.service +++ b/src/boot/ostree-finalize-staged.service @@ -21,7 +21,7 @@ Documentation=man:ostree(1) ConditionPathExists=/run/ostree-booted DefaultDependencies=no -RequiresMountsFor=/sysroot /boot +RequiresMountsFor=/sysroot /boot /etc After=local-fs.target Before=basic.target final.target # We want to make sure the transaction logs are persisted to disk: -- 2.30.2